home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Mac OS / Multiprocessing 2.1v2 SDK / Sample Code / MP Sort Picts 12⁄04⁄99 / CopyBlits Folder / MPCopyBlits.h < prev   
Encoding:
C/C++ Source or Header  |  1999-11-17  |  927 b   |  39 lines  |  [TEXT/CWIE]

  1. #include <Multiprocessing.h>
  2.  
  3.  
  4. // Prototypes
  5. void Set_ColorTable(CTabHandle pCTabHandle);
  6.  
  7. void CopyBlits    (    const PixMapHandle srcPixMapHdl,
  8.                     const PixMapHandle dstPixMapHdl,
  9.                     const Rect *srcRect,
  10.                     const Rect *dstRect,
  11.                     MPCriticalRegionID blitterBusy
  12. );
  13.  
  14.  
  15. // 354 fps vs. 300 fps CopyBits
  16. void CopyBlits8_8    (    const PixMapHandle srcPixMapHdl,
  17.                         const PixMapHandle dstPixMapHdl,
  18.                         const Rect *srcRect,
  19.                         const Rect *dstRect,
  20.                         MPCriticalRegionID blitterBusy
  21. );
  22.  
  23. // 50 fps vs. 42 fps CopyBits
  24. void CopyBlits8_16    (    const PixMapHandle srcPixMapHdl,
  25.                         const PixMapHandle dstPixMapHdl,
  26.                         const Rect *srcRect,
  27.                         const Rect *dstRect,
  28.                         MPCriticalRegionID blitterBusy
  29. );
  30.  
  31. // 50 fps vs. 39 fps CopyBits
  32. void CopyBlits8_32    (    const PixMapHandle srcPixMapHdl,
  33.                         const PixMapHandle dstPixMapHdl,
  34.                         const Rect *srcRect,
  35.                         const Rect *dstRect,
  36.                         MPCriticalRegionID blitterBusy
  37. );
  38.  
  39.